Skip to content

Conversation

@vbudhram
Copy link
Contributor

@vbudhram vbudhram commented Jan 12, 2026

Because

This pull request

  • Adds account-storage.ts for unified localStorage-based account state management
  • Adds useAccountData hook replacing GraphQL queries with direct auth-client calls
  • Adds AccountStateContext for React state management with localStorage sync
  • Adds POST /account/email_bounce_status endpoint to auth-server for email bounce detection
  • Updates content-server account model to handle new localStorage structure
  • Removes GraphQL dependencies from all signin, signup, and settings flows
  • Removes PageMfaGuardWithGqlTest component (no longer needed)

Issue

Closes: TBD

Checklist

  • My commit is GPG signed
  • Tests pass locally (if applicable)
  • Documentation updated (if applicable)
  • RTL rendering verified (if UI changed)

Other Information

How to test:

  1. yarn start and navigate to localhost:3030, create account and login
  2. Verify account data loads (avatar, emails, 2FA status)
  3. Open multiple tabs and verify session sync works

@vbudhram vbudhram force-pushed the gql-removal branch 2 times, most recently from 58b5c95 to c522304 Compare January 14, 2026 14:43
@vbudhram vbudhram self-assigned this Jan 18, 2026
@vbudhram vbudhram force-pushed the gql-removal branch 4 times, most recently from 59f5ece to d44aa88 Compare January 20, 2026 18:05
@vbudhram vbudhram changed the title feat(gql): Migrate fxa-settings from GraphQL to direct auth-client calls (WIP) feat(gql): Migrate fxa-settings from GraphQL to direct auth-client calls Jan 20, 2026
@vbudhram vbudhram marked this pull request as ready for review January 20, 2026 20:17
@vbudhram vbudhram requested a review from a team as a code owner January 20, 2026 20:17
@dschom dschom self-requested a review January 21, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants